package models

// Role 用户角色表
type Role struct {
	BaseModel
	RoleName string  `json:"roleName"`
	RoleKey  string  `json:"roleKey"`
	Remark   string  `json:"remark"` //备注
	Right    []Right `gorm:"many2many:role_right" json:"right"`
	Admin    string  `json:"admin" gorm:"column:admin"`
}
